<style type="text/css">
body {
	background-color: #5F9EA0;
}
body,td,th {
	color: #FFF
</style>

<?php
$con = mysql_connect("localhost","root","1234");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("northwindDB", $con);




$result = mysql_query("SELECT * FROM  nwproducts    " );
echo '<center>' ;
  echo  '<br><h1>Product</h1><hr><br>';
  echo '<table width="200" border="1">';
  echo '<tr><td bgcolor="##000000">' . 'ProductID'. '</td>';
  echo '<td bgcolor="#000000">' . 'ProductName'. '</td>';
  echo '<td bgcolor="#000000">' . 'SupplierID'. '</td>';
  echo '<td bgcolor="#000000">' . 'CategoryID'. '</td>';
  echo '<td bgcolor="#000000">' . 'QuantityPerUnit'. '</td>';
  echo '<td bgcolor="#000000">' . 'UnitPrice'. '</td>';
  echo '<td bgcolor="#000000">' . 'UnitsInStock'. '</td>';
  echo '<td bgcolor="#000000">' . 'UnitsOnOrder'. '</td>';
  echo '<td bgcolor="#000000">' . 'ReorderLevel'. '</td>';
  echo '<td bgcolor="#000000">' . 'Discontinued'. '</td></tr>';

while($row = mysql_fetch_array($result))
  {
  echo '<tr><td bgcolor="#999999">' .  $row['ProductID'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['ProductName'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['SupplierID'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['CategoryID'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['QuantityPerUnit'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['UnitPrice'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['UnitsInStock'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['UnitsOnOrder'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['ReorderLevel'] . '</td>';
  echo '<td bgcolor="#999999">' .  $row['Discontinued'] . '</td></tr>';
  //echo "<br />";

  }
  echo '</table>';
  echo '</center>' ;
mysql_close($con);
?>